package com.example.qxfw.dysjrh.entity;

import com.dmgis.entity.DmGridInfo;

public class GridDataPicAndXY {
    private byte[] filedata;

    double xMin;
    double xMax;
    double yMin;
    double yMax;
    float zMin;
    float zMax;

    public GridDataPicAndXY(byte[] filedata, DmGridInfo gridInfo) {
        this.filedata = filedata;
        this.xMin = gridInfo.getxMin();
        this.xMax = gridInfo.getxMax();
        this.yMin = gridInfo.getyMin();
        this.yMax = gridInfo.getyMax();
    }

    public byte[] getFiledata() {
        return filedata;
    }

    public void setFiledata(byte[] filedata) {
        this.filedata = filedata;
    }

    public double getxMin() {
        return xMin;
    }

    public void setxMin(double xMin) {
        this.xMin = xMin;
    }

    public double getxMax() {
        return xMax;
    }

    public void setxMax(double xMax) {
        this.xMax = xMax;
    }

    public double getyMin() {
        return yMin;
    }

    public void setyMin(double yMin) {
        this.yMin = yMin;
    }

    public double getyMax() {
        return yMax;
    }

    public void setyMax(double yMax) {
        this.yMax = yMax;
    }

    public float getzMin() {
        return zMin;
    }

    public void setzMin(float zMin) {
        this.zMin = zMin;
    }

    public float getzMax() {
        return zMax;
    }

    public void setzMax(float zMax) {
        this.zMax = zMax;
    }
}
